package com.atguigu.gulimall.order.feign.fallback;

import com.atguigu.gulimall.order.feign.CartFeignService;
import com.atguigu.gulimall.order.vo.OrderItemVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @create: 2024/9/11
 * @author: gyhe10
 * @description:
 **/

@Slf4j
@Component
public class CartFeignServiceFallback implements CartFeignService {
    @Override
    public List<OrderItemVo> getCurrentUserCheckedItems() {
        log.error("远程调用 cart 服务获取当前用户购物车中勾选的购物项列表失败");
        return null;
    }
}
